package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 盘点单主对象 hmz_inventory_master
 *
 * @author ruoyi
 * @date 2024-10-31
 */
public class HmzInventoryMaster extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主表ID */
    private Long id;

    /** 员工ID */
//    @Excel(name = "员工ID")
    private Long employeeId;

    /** PD单据号 */
    @Excel(name = "PD单据号")
    private String pdNumber;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 盘点数量 */
    @Excel(name = "盘点数量")
    private Long pdQuantity;

    /******* 拓展字段 ********/
    /** 盘点明细 */
    List<HmzInventoryDetail> hmzInventoryDetails;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setEmployeeId(Long employeeId)
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId()
    {
        return employeeId;
    }
    public void setPdNumber(String pdNumber)
    {
        this.pdNumber = pdNumber;
    }

    public String getPdNumber()
    {
        return pdNumber;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setPdQuantity(Long pdQuantity)
    {
        this.pdQuantity = pdQuantity;
    }

    public Long getPdQuantity()
    {
        return pdQuantity;
    }
    public void setHmzInventoryDetails(List<HmzInventoryDetail> hmzInventoryDetails)
    {
        this.hmzInventoryDetails = hmzInventoryDetails;
    }

    public List<HmzInventoryDetail> getHmzInventoryDetails()
    {
        return hmzInventoryDetails;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("pdNumber", getPdNumber())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("pdQuantity", getPdQuantity())
            .toString();
    }
}
